FROM postgres:14.5
# 设置时区（建议配置）
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo 'Asia/Shanghai' >/etc/timezone
ENV POSTGRES_USER=postgres
ENV POSTGRES_PASSWORD=postgres

ADD ./initdb/dump.sql /docker-entrypoint-initdb.d/
